from django.urls import re_path
from home import views

urlpatterns = [
    re_path(r'^api/v1.0/user/houses/$', views.UserHouses.as_view()),
    re_path(r'^api/v1.0/houses/index/$', views.HousesIndex.as_view()),
    re_path(r'^api/v1.0/houses/$', views.HousesMessageView.as_view()),
    re_path(r'^api/v1.0/houses/(?P<house_id>\d+)/images$', views.HouseImageView.as_view()),
    re_path(r'^api/v1.0/houses/(?P<house_id>\d+)/$', views.HousesParticularsView.as_view())
]